<?php
require_once('../includes/auth.php');
$titleloc = "Import Raid";
include("../includes/header.php");
?>
<h2>Import New Raid</h2>
<?php
if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) > 0 )
{
    echo '<span class="error">Invalid string, please check the following:</span>';
    echo '<ul class="error">';
    foreach($_SESSION['ERRMSG_ARR'] as $msg)
    {
        echo '<li>',$msg,'</li>';
    }
    echo '</ul>';
    unset($_SESSION['ERRMSG_ARR']);
}
?>
<form action="raid.php" method="post" name="stringform" id="stringform">
      <textarea name="raidxml" id="raidxml" rows="15" cols="76" style="width: 100%;"></textarea><br /><br />
    <div style="text-align: center;"><input type="submit" name="parse" class="btnmain" value="Parse" /></div>
</form>
<?php include("../includes/footer.php"); ?>